<admintpl file="header"/>
<link rel="stylesheet" href="__PUBLIC__/css/jquery.datetimepicker.css">
<link rel="stylesheet" href="__PUBLIC__/css/main.css">
<link rel="stylesheet" href="__PUBLIC__/css/act_info.css">
<link rel="stylesheet" href="__PUBLIC__/js/selectcity/cityselect.css">
<script src="__PUBLIC__/js/uploadify/jquery2.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/uploadify/jquery.uploadify.min.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/jquery.form.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/js/uploadify/uploadify.css">
<script src="__PUBLIC__/js/laydate.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/selectcity/cityselect.js"></script>


<style type="text/css">
    /*.form-horizontal .controls{*/
        /*margin-left: 0px; */
    /*}*/
    .hidden {
        display: none;
    }

    label {
        cursor: default
    }
</style>
</head>
<body>

<div class="manage">
    <span><a href="#">活动管理</a></span><span><a href="#">运营管理</a></span>
</div>

<div class="act_main"><a href="{:U('Special/main')}">活动管理</a>
        <span class="act-nav">
            <a href="{:U('Special/main',array('Type'=>3))}">秒杀活动</a>
        </span>
</div>
<div class="wrap">
    <div class="act_title">
        <div class="act_left">
            <span class="act_all" data-shoptype="{$type}"><a href="#" class="rehref"
                                                             style="color: #000">添加秒杀活动场次</a></span>
        </div>
    </div>
    <div class="form-horizontal Jactadd">

        <div class="prize">
            <!---->
            <div class="control-group">
                <label class="control-label act-info">奖品信息……（<span class="busnum">0</span>个奖品）</label>
                <a href="javascript:void(0)" class="btn btn-info Jaddvisit">+添加奖品</a>
                <div>

                    <div class="addPrizePic">
                        <input type="radio" name="pictext" class="addPicShow" value="1" data-pictype="1" checked>图文展示
                    </div>
                    <div class="addPrizePic">
                        <input type="radio" name="pictext" class="addTextPicShow" value="2" data-pictype="2" >图片＋文字展示
                    </div>

                </div>
                <!--右边导航-->
                <div class="controls act_right text-center">
                    <ul>
                        <li><a href="#">> <span>返回</span> </a>
                        </li>
                        <li><a href="#">> <span>返回所有活动</span></a></li>
                    </ul>
                </div>
            </div>
            <input type="hidden" name="prizetype" class="prizetype">
            <input type="hidden" name="prizetype" class="ActivityID" value="{$ActivityID}">
            <input type="hidden" name="prizetype" class="AttributeID" value="{$AttributeID}">
            <!--奖品详情-->

            <div class="prizeinfores">

            </div>
        </div>

        <!-----------活动场次概况---------->
        <div class="garbtimes">
            <div class="activity-info">
                <div class="control-group">
                    <label class="control-label act-info">活动场次……（<span class="playnuminfo">0</span>个场次）</label>
                    <!--<a href="javascript:void(0)" class="btn btn-info JaddvisitList">+添加场次</a>-->
                </div>
            </div>

            <div class="JactivityTotal">
                <div class="JactivityPlayInfo"><div class="Jmanyactivity">
                    <div class="actdetail"> <span class="survey">活动场次概况</span> </div> <div class="modal-body">
                    <div class="control-group form-horizontal addPlay"><div class="control-group">
                        <label class="control-label">活动城市：</label> <div class="controls">
                        <label class="control-label" style="text-align: left;">
                            <a href="javascript:void(0)" class="addVisit">添加城市</a>
                        </label> </div> </div>

                        <div class="control-group"> <label class="control-label"></label> <div class="controls">
                            <div class="controls addPlayCity">
                                <div class="CitySelectInfo">
                                </div></div> </div> </div>

                        <div class="control-group"> <label class="control-label">活动时段：</label>
                            <div class="controls"> <label class="control-label" style="text-align: left;">
                                <a href="javascript:void(0)" class="addTime">添加活动时段</a> </label> </div> </div>
                        <div class="control-group Timeslot"> </div>'
                        <div class="Distinguish text-center">
                            <a href="javascript:void(0)" class="btn btn-danger">识别</a> </div>
                    </div> </div> <div class="activityNumber"> </div> </div></div>
            </div>

        </div>




        <div class="form-actions">
            <button type="submit" class="btn btn-primary Jaddsubmit">提交</button>
        </div>
    </div>
</div>



<!--添加奖品-->
<div aria-hidden="true" aria-labelledby="myModalLabel" role="dialog" tabindex="-1" id="Jaddprize"
     class="modal small hide fade" style="width: 600px;">
    <div class="modal-header" style="background-color: #ecf0f1">
        <button aria-hidden="true" data-dismiss="modal" class="close" type="button" id="closePushPrizeBtn"
                style="color: #000"><img src="__PUBLIC__/images/del.png"></button>
        <h4 id="myPrizeModalLabel" style="color: #000">选择奖品展示类型</h4>
    </div>
    <div class="modal-body JaddPicShowList">
        <div class="control-group form-horizontal">

            <!--选择图片-->
            <div class="addPrizePic">
                <a href="#" class="addPicShow" data-pictype="1">图片展示</a>
            </div>
            <div class="addPrizePic">
                <a href="#" class="addTextPicShow" data-pictype="2">图片＋文字展示</a>
            </div>
        </div>
    </div>
    <div class="modal-footer" style="text-align: center">

        <button class="btn btn-danger JsavePrize" type="button">保存</button>
    </div>
</div>

<!--添加活动场次结束-->

<script type="text/javascript">
    var ajaxPic  = "{:U('Grab/uploadify')}";
    var ajaxGetBrach  = "{:U('Grab/getBrachInfo')}";
    var ajaxAddHandel  = "{:U('Grab/addHandle')}";

    var m=1;
    new Vcity.CitySelector({input:'citySelect'+m});



    $(function () {
        $('.rehref').click(function () {
            location.reload();
        })
    })

</script>
<script src="__PUBLIC__/js/common.js"></script>
<script src="__PUBLIC__/js/artDialog/artDialog.js"></script>
<script src="__PUBLIC__/js/grab.js"></script>
<script src="__PUBLIC__/js/common_upload.js"></script>

</body>
</html>